#!/bin/sh
#
# Copyright (C) 2000-2015 Kern Sibbald
# License: BSD 2-Clause; see file LICENSE-FOSS
#

# Set regression debug listing on/off
# This has to be sourced to work right
#
if test $1 = "on" ; then
  REGRESS_DEBUG=1
  echo "Setting debug on"
else
  REGRESS_DEBUG=0
  unset REGRESS_WAIT
  echo "Setting debug off"
fi
export REGRESS_DEBUG
